<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page TpUserLib.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name">/TpUserLib.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-classes">Classes</a>
			|													<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">TurboPhp 4 - User Management Library   Version 4.0.1 Beta</p>
<p class="description"><p>Copyright (c) 2004 Least-Resistance Software</p><p>This source file is subject to the terms of the TurboPhp license,   that is bundled with this package in the file LICENSE.TXT, and is   available at through the world-wide-web at   http://www.turbophp.com/turbophp/license.txt</p></p>
	<ul class="tags">
				<li><span class="field">filesource:</span> <a href="..//__filesource/fsource_TurboPhpLib__TpUserLib.php.html">Source Code for this file</a></li>
			</ul>
		
			</div>
</div>
		
	<a name="sec-classes"></a>	
	<div class="info-box">
		<div class="info-box-title">Classes</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Classes</span>
			|																<a href="#sec-functions">Functions</a>
					</div>
		<div class="info-box-body">	
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpAuthenticator.html">TTpAuthenticator</a>
					</td>
					<td>
											User authentication object.
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top">
						<a href="../TurboPhpLib/TTpDbAuthenticator.html">TTpDbAuthenticator</a>
					</td>
					<td>
											User authentication via database.
										</td>
				</tr>
							</table>
		</div>
	</div>

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-classes">Classes</a>
				|															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functiontpGetInsertSql" id="functiontpGetInsertSql"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">tpGetInsertSql</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpUserLib.php.html#a44">44</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Create an SQL insert command.</p>
<p class="description"><p>Converts a table name and an array of name-value pairs  into an SQL insert statment.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> SQL insert command.</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			tpGetInsertSql
		</span>
					(<span class="var-type">$inTable</span>&nbsp;<span class="var-name">$inTable</span>, <span class="var-type">$inData</span>&nbsp;<span class="var-name">$inData</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">$inTable</span>
				<span class="var-name">$inTable</span><span class="var-description">: string Table name for the query.</span>			</li>
					<li>
				<span class="var-type">$inData</span>
				<span class="var-name">$inData</span><span class="var-description">: array Data to insert, array of (fieldname =&gt; value) records.</span>			</li>
				</ul>
		
	
</div>
<a name="functiontpUnsession" id="functiontpUnsession"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">tpUnsession</span> (line <span class="line-number"><a href="..//__filesource/fsource_TurboPhpLib__TpUserLib.php.html#a57">57</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Destroy the PHP session.</p>
<p class="description"><p><ol><li>Erases the session cookie.</li><li>Unsets the $_SESSION array.</li><li>Invokes session_destroy().</li></ol></p></p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			tpUnsession
		</span>
				()
			</div>

		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Fri, 12 Nov 2004 16:34:10 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.3.0RC3</a>
	</p>
	</div></body>
</html>